Custom operator for isclose comparison of two real32 values Uses default relative tolerance of 1e-5 and does not print results
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | got |
The value to be tested |
||
| real(kind=real32), | intent(in) | :: | expect |
The expected value |
Did the comparison pass?
Custom operator for isclose comparison of two real64 values Uses default relative tolerance of 1e-5 and does not print results
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | got |
The value to be tested |
||
| real(kind=real64), | intent(in) | :: | expect |
The expected value |
Did the comparison pass?